<?php
/**********************
**intellistrip_xml_rpc.inc
**Date Created: 4/13/2009
**Copyright 2009 Tomorrow Tech Industries
**Contact: RPITomorrowTech@gmail.com
**********************/

/*********
XML-RPC communication strings
*********/

define('INTELLISTRIP_SERVER_CLASS', 'intellistrip');


//Generic/very common variables
//Return code
define('XMLRPC__RC', 'rc');
//An error string, may bet set if TT_FAILED($rc) occurs
define('XMLRPC__ERROR', 'error');
//Device password
define('XMLRPC__PASSWORD', 'password');

define('XMLRPC__SET_PORT_POWER', 'setPortPower');
define('XMLRPC__SET_PORT_POWER__PORT_ID', 'portID');
define('XMLRPC__SET_PORT_POWER__POWER_LEVEL', 'powerLevel');

define('XMLRPC__GET_PORT_POWER', 'getPortPower');
define('XMLRPC__GET_PORT_POWER__PORT_ID', 'portID');
define('XMLRPC__GET_PORT_POWER__POWER_LEVEL', 'powerLevel');

define('XMLRPC__CHANGE_PASSWORD', 'changePassword');
define('XMLRPC__CHANGE_PASSWORD__NEW_PASSWORD', 'newPassword');

//This function is not password protected
define('XMLRPC__GET_INTELLISTRIP_INFORMATION', 'getIntellistripInformation');
define('XMLRPC__GET_INTELLISTRIP_INFORMATION__VENDOR_NAME', 'vendorName');
define('XMLRPC__GET_INTELLISTRIP_INFORMATION__MODEL_NUMBER', 'modelNumber');
define('XMLRPC__GET_INTELLISTRIP_INFORMATION__MODEL_VERSION', 'modelVersion	');
define('XMLRPC__GET_INTELLISTRIP_INFORMATION__SERIAL_NUMBER', 'serialNumber');
define('XMLRPC__GET_INTELLISTRIP_INFORMATION__NUMBER_PORTS', 'numberPorts');
define('XMLRPC__GET_INTELLISTRIP_INFORMATION__STATE', 'state');
?>
